package com.qianxing.controller;

import com.qianxing.service.TbCultureDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author:JasonLong
 * @Date:2023/7/19
 * @Time:21:53
 */
@RestController
@RequestMapping("/culture")
public class WxCultureController {

    @Autowired
    private TbCultureDataService cultureDataService;

    @GetMapping("/getAll")
    public List getAll() {
        //直接获取所有数据
        return cultureDataService.getAll();
    }

}
